package com.ruoyi.repay.mapper;

import com.ruoyi.repay.domain.RepaymentPlan;
import com.ruoyi.repay.domain.RepaymentSchedule;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface RepaymentscheduleMapper {
    @Insert("insert into repayment_schedule(check_code,price,car_name,type,user_info_code,is_status,interest_rates,create_time) values(#{checkCode},#{price},#{carName},#{type},#{userInfoCode},#{isStatus},#{interestRates},#{createTime})")
    void addrepaymentschedule(RepaymentSchedule RepaymentSchedule);
@Select("select * from repayment_schedule where user_info_code = #{userInfoCode}")
    List<RepaymentSchedule> repayList(String userInfoCode);


}
